def BeautifulPrint(lst):
    print('[')
    for i in range(len(lst)):
        if i != len(lst) - 1:
            e = ',\n'
        else:
            e = '\n'
        print(' ' + lst[i], end=e)
    print(']')

def GetReci(number):
    lst = []
    for i in range(number):
        lsti = [i]
        lst = lsti + lst
    a = ''
    for i in lst:
        a += i

def HeiDigit(lst):
    strLst = []
    for i in lst:
        strLst.append(str(i))
    hei = -1
    for i in strLst:
        if len(i) > hei:
            hei = len(i)
    return hei

def MergeLst(*lst):
    a = ''
    for i in lst:
        a += str(i)

def StrLst(lst):
    a = []
    for i in lst:
        a.append(str(i))

numLst = [100, 200, 120, 80, 50, 150, 20, 160, 90, 130]
heiDigit = 3
bucket = []
for _ in range(heiDigit):
    bucket.append([0] * 10)
def main():
    for pos in range(3):
        for i in StrLst(numLst):
            bucket[pos][i[len(i) - 1]]
if __name__ == '__main__':
    main()